﻿@model b7.Models.Sanpham

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_LayoutManager.cshtml";
}


<fieldset>
    <legend>Sanpham</legend>
    <div style="width:800px; height:auto; border:solid 1px #000">
        <div style="width:250px; height:330px; float:left; padding:40px 0 0 50px"><img src="../..@Html.DisplayFor(model => model.Anh)" alt="Anh Quang Cao" height="200px" width="200px"/></div>
       <div style="width:500px; height:auto; float:left">
        <div style="width:490px; height:auto; border:solid 1px #000;padding:5px 0 0 5px; border-top:0px;">Name: @Html.DisplayFor(model => model.Name)</div>
        <div style="width:490px; height:auto; border:solid 1px #000;padding:5px 0 0 5px; border-top:0px;">nhomsanpham: @Html.DisplayFor(model => model.NhomSanpham.Name)</div>
        <div style="width:490px; height:auto; border:solid 1px #000;padding:5px 0 0 5px; border-top:0px;">Thể loại: @Html.DisplayFor(model => model.Theloai.Name)</div>
        <div style="width:490px; height:auto; border:solid 1px #000;padding:5px 0 0 5px; border-top:0px;">TomTat:  @Html.DisplayFor(model => model.TomTat)</div>
        <div style="width:490px; height:auto; border:solid 1px #000;padding:5px 0 0 5px; border-top:0px;">NoiDung: @Html.DisplayFor(model => model.NoiDung)</div>
        <div style="width:490px; height:auto; border:solid 1px #000;padding:5px 0 0 5px; border-top:0px;">OldPrice: @Html.DisplayFor(model => model.OldPrice)</div>
        <div style="width:490px; height:auto; border:solid 1px #000;padding:5px 0 0 5px; border-top:0px;">SalePrice: @Html.DisplayFor(model => model.SalePrice)</div>
        <div style="width:490px; height:auto; border:solid 1px #000;padding:5px 0 0 5px; border-top:0px;">Quantity: @Html.DisplayFor(model => model.Quantity)</div>
        <div style="width:490px; height:auto; border:solid 1px #000;padding:5px 0 0 5px; border-top:0px;">Ngay bắt đầu km: @Html.DisplayFor(model => model.NgayBatdau)</div>
        <div style="width:490px; height:auto; border:solid 1px #000;padding:5px 0 0 5px; border-top:0px;">ngày kết thúc km: @Html.DisplayFor(model => model.NgayKetThuc)</div>
       </div>
    </div>


</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.SanphamId }) |
    @Html.ActionLink("Back to List", "Index")
</p>
